<template>
	<!-- 绑定手机号 -->
	<view>
		<view class="edit">
			<view class="editPass flex">
				<text>已绑定手机号</text>
				<input type="text" placeholder="请输入真实姓名" v-model="mobile"/>
			</view>
		</view>
		<view class="editBtn flex-c" @click="fnChangeBindMobile()">
			<text>更换手机号</text>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				mobile:''
			};
		},
		onShow() {
			this.mobile = uni.getStorageSync('userInfo').mobile
		},
		methods:{
			fnChangeBindMobile(){
				uni.navigateTo({
					url:'changeBindMobile'
				})
			}
		}
	}
</script>

<style lang="scss" scoped>
	page{
		padding: 30rpx 0;
	}
	.edit{
		.editPass{
			height: 120rpx;
			background: #fff;
			padding: 0 20rpx;
			font-size: 28rpx;
			margin-bottom: 30rpx;
			align-items: center;
			text{
				flex: 1;
				font-size: 30rpx;
			}
			input{
				flex: 2.5;
			}
		}
	}
	.editBtn{
		width: 710rpx;
		height: 90rpx;
		border-radius: 20rpx;
		background: linear-gradient(270deg, #F22F29, #FC6655);
		margin: 60rpx auto 20rpx;
		color: #fff;
		font-size: 30rpx;
	}
</style>
